#ifndef SYSTEMREBOOTDIALOG_H
#define SYSTEMREBOOTDIALOG_H

#include <QDialog>

namespace Ui {
class SystemRebootDialog;
}

class SystemRebootDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SystemRebootDialog(QWidget *parent = nullptr);
    ~SystemRebootDialog();

public slots:
    void onLockClicked();
    void onSleepClicked();
    void onRebootClicked();
    void onShutdownClicked();
protected:
//    void keyPressEvent(QKeyEvent *) override;
    void mousePressEvent(QMouseEvent *) override;

private:
    Ui::SystemRebootDialog *ui;
};

#endif // SYSTEMREBOOTDIALOG_H
